package com.emex.app.shared.data;

public class Client {
    private Integer id;

    private String name;

    private String patronymic;

    private String surname;

    private String phones;

    private String email;

    private String comment;

    private Boolean isInternetUser;

    public Client(Integer id, String name, String patronymic, String surname, String phones, String email, String comment, Boolean isInternetUser) {
        this.id = id;
        this.name = name;
        this.patronymic = patronymic;
        this.surname = surname;
        this.phones = phones;
        this.email = email;
        this.comment = comment;
        this.isInternetUser = isInternetUser;
    }

    public Client() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPatronymic() {
        return patronymic;
    }

    public void setPatronymic(String patronymic) {
        this.patronymic = patronymic == null ? null : patronymic.trim();
    }

    public String getSurname() {
        return surname;
    }

    public void setSurname(String surname) {
        this.surname = surname == null ? null : surname.trim();
    }

    public String getPhones() {
        return phones;
    }

    public void setPhones(String phones) {
        this.phones = phones == null ? null : phones.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    public Boolean getIsInternetUser() {
        return isInternetUser;
    }

    public void setIsInternetUser(Boolean isInternetUser) {
        this.isInternetUser = isInternetUser;
    }
}